﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BikeSystem.Models
{
    [Serializable]
    public class Account
    {

        protected string loginId;
        protected string loginPwd;
        protected string userName;
        protected string role;
        protected string sex;
        protected string age;
        protected string nric;
        protected string phone;
        protected string remark;

        protected bool isNew;
        protected bool isUpdated;

        public string LoginId
        {
            get { return loginId; }
            set { loginId = value; }
        }

        public string LoginPwd
        {
            get { return loginPwd; }
            set { loginPwd = value; }
        }
        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }

        public string Role
        {
            get { return role; }
            set { role = value; }
        }
        public string Sex
        {
            get { return sex; }
            set { sex = value; }
        }

        public string Age
        {
            get { return age; }
            set { age = value; }
        }

        public string NRIC
        {
            get { return nric; }
            set { nric = value; }
        }
        public string Phone
        {
            get { return phone; }
            set { phone = value; }
        }

        public string Remark
        {
            get { return remark; }
            set { remark = value; }
        }


        public bool IsNew
        {
            get { return isNew; }
            set { isNew = value; }
        }

        public bool IsUpdated
        {
            get { return isUpdated; }
            set { isUpdated = value; }
        }
    }
}
